--- a/trunk/src/NetworkMessage.cpp
+++ b/trunk/src/NetworkMessage.cpp
@@ -23,6 +23,7 @@
 
 /* includes */
 #include <cstring>
+#include <ostream>
 
 #include "UserConfig.h"
 #include "SpeedController.h"
